<?php
namespace app\member\service;
/**
 * 系统支付接口
 */
class PayService {

    /**
     * 获取支付类型接口
     */
    public function getTypePay() {
        return array(
            'alipay' => array(
                'name' => '支付宝支付',
                'target' => 'member/Alipay',
                'type' => 'web',
                'order' => 1,
                'configRule' => array(
                    'partner' =>   '签约号',
                    'key' =>    '支付KEY',
                    'email'  =>  '收款人',
                )
            ),
            'alipay_mobile' => array(
                'name' => '支付宝支付',
                'target' => 'member/AlipayMobile',
                'type' => 'mobile',
                'order' => 1,
                'configRule' => array(
                    'partner' =>   '签约号',
                    'email'  =>  '收款人',
                )
            ),
        );
    }
}
